package com.xh.car.service;

import com.xh.car.bean.Driver;
import com.xh.car.bean.Kaptcha;
import com.xh.car.bean.Userinfo;
import com.xh.car.util.R;

/**
 * @Author PangJunjie
 * @Date 2024/5/7/007
 */
public interface UserinfoService {
    Userinfo login(Userinfo userinfo, Kaptcha kaptcha);

    R getPage(int page, int limit, Userinfo userinfo);

    Userinfo getById(int id);

    void saveOrUpdate(Userinfo userinfo, Driver driver);

    void delete(int id);

    R checkPassword(Userinfo userinfo);

    R getDriverSelect();
}
